package com.finance.rule.computer;

import com.finance.base.enums.MajorTypeEnum;
import com.finance.report.bean.pojo.LogisticsData;

import java.io.Serializable;
import java.util.List;

/**
 * Created by CBWL on 2017/5/3.
 * 如果是单件 则isMarjor isSingle
 * 如果存在拖件 则isSingle=false,isMarjor再判断
 */
public interface IMajorAnalyzer extends Serializable {
    MajorTypeEnum majorTyeOf(LogisticsData data);
    boolean isSingle(LogisticsData data);
    List<LogisticsData> getOtherParts(LogisticsData logisticsData);
    void init(String json);
}
